from src import heuristics, problems, measure, astar_solution
import matplotlib.pyplot as     plt
import test_runner
import graphic_problems_2

algos = []

#the following test mesure time_of_solution*length_solution
"""
for p in range(1,11):
    algos.append(astar_solution.astar_solution(heuristics.scaled_manhattan_dirt(p)))

test_runner.runtest(algos, problem_sets = graphic_problems_2.three_sets() ,title = 'scaled manhattan dirt test 1')


for p in range(1,11):
    algos.append(astar_solution.astar_solution(heuristics.scaled_manhattan_dirt(p)))

test_runner.runtest(algos, problem_sets = graphic_problems_2.two_sets() ,title = 'scaled manhattan dirt test 2 - only on two first sets')
"""
#the following test mesure time_of_solution

for p in range(1,11):
    algos.append(astar_solution.astar_solution(heuristics.scaled_manhattan_dirt(p)))

test_runner.runtest(algos, problem_sets = graphic_problems_2.three_sets() , test_parm = 'time',title = 'scaled manhattan dirt test 3')
